package com.ccys.db.mapper;

import com.ccys.db.dto.marketing.NewsDTO;
import com.ccys.db.entity.TblNews;
import com.ccys.db.vo.marketing.NewsDetailWebVO;
import com.ccys.db.vo.marketing.NewsWebVO;
import tk.mybatis.mapper.common.Mapper;
import tk.mybatis.mapper.common.MySqlMapper;

import java.util.List;

/**
* Created by Mybatis Generator on 2023/12/08
*/
public interface TblNewsMapper extends Mapper<TblNews>, MySqlMapper<TblNews> {
    List<NewsWebVO> listObjectsCms(NewsDTO dto);

       /**
        * @description 查询详情
        * @date     2023/12/26
        * @author   cloud fly
        */
    NewsDetailWebVO getDetail(NewsDTO dto);
}